<?php

/**
 * @author	barbarosalcin
 * @desc	inc.config
 * @package	core
 * @version	$Id: 20101125
 */

$config = array();

# Options are mysql and pqsql
$config['db']['type'] = 'mysql';

# Hostname or IP of the database server
$config['db']['server'] = 'localhost';

# Port of the database server. Default is 3306
$config['db']['port'] = 3306;

# Database name
$config['db']['db'] = 'myfw';

# Database server connection user name
$config['db']['user'] = 'root';

# Database server connection password
$config['db']['pass'] = '';

# Prefix will be used for tables in database. You can leave it blank.
$config['db']['table_prefix'] = 'myfw_';

# If you are using MySQL 4.1+ and you get character problems
# you may need to uncomment below line.
$config['db']['charset'] = 'utf8';

# If you want to use persistant server connection set it 1.
# If you are not sure what does it mean, leave it 0.
$config['db']['pconnect'] = 0;

# Cookie variables

$config['cookie_name'] = 'tkcore_myfw';
$config['cookie_path'] = '/';
/* temp */
$tmp = parse_url($_SERVER['REQUEST_URI']);

/* temp*/
$config['cookie_domain'] = $tmp['host'];
unset($tmp);

# global time();

$config['time'] = time();